home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-10-31 | 1.6 KB | 54 lines | [TEXT/MPS ] |
- #
- # Apple Macintosh Developer Technical Support
- #
- # Exception handling for MPW Pascal, MacApp and MPW C
- #
- # UFailure (aka Signals) - “Exceptional code, with a few exceptions.”
- #
- # TestCignal.make - Makefile for c access to enhanced UFailure
- #
- # Copyright © 1985-1988 Apple Computer, Inc.
- # All rights reserved.
- #
- # Versions: 1.0 11/88
- #
- # Components: UFailure.p November 1, 1988
- # UFailure.h November 1, 1988
- # UFailure.inc1.p November 1, 1988
- # UFailure.a November 1, 1988
- # TestCignal.c November 1, 1988
- # TestCignal.make November 1, 1988
- # TestSignal.p November 1, 1988
- # TestSignal.make November 1, 1988
- #
- # UFailure (or Signals) is a set of exception handling routines suitable for
- # use with MacApp, MPW C, and MPW Pascal. It is a jazzed-up version of the MacApp
- # UFailure unit. There is a set of C interfaces to it as well.
- #
-
- # turn on debugging information (use 0 to turn it off)
- AOptions = -d &Debug=1
- POptions = -d qDebug=TRUE -mbg ch8
- # if you set qDebug to FALSE you should use -mbg off
- COptions = -mbg ch8
-
- UFailure.o ƒ UFailure.p.o UFailure.a.o
- Lib UFailure.p.o UFailure.a.o -o UFailure.o
-
- UFailure.p.o ƒƒ UFailure.p UFailure.inc1.p
-
- TestCignal ƒ TestCignal.c.o UFailure.o
- Link -w -c 'MPS ' -t MPST TestCignal.c.o ∂
- -sn STDIO=Main ∂
- -sn INTENV=Main ∂
- -sn %A5Init=Main ∂
- UFailure.o ∂
- "{CLibraries}"CRuntime.o ∂
- "{CLibraries}"StdCLib.o ∂
- "{CLibraries}"CInterface.o ∂
- "{Libraries}"Interface.o ∂
- "{Libraries}"ToolLibs.o ∂
- -o TestCignal
- # note that we could link with stubs to reduce the tool size (see the Count
- # MPW tool example)
-